<script>
import { getAreaTree } from "@/api";
export default {

  onLaunch: function () {
    console.log("App Launch");
  },
  onShow: async function () {
    let res = await getAreaTree();
    uni.setStorageSync("areaTree", res);
  },
  onHide: function () {
    console.log("App Hide");
  },
};
</script>

<style>
.line-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.page-footer {
  width: 100%;
  background: #131e32;
  border-top: 1rpx solid #f5f5f5;
  padding: 30rpx 30rpx 100rpx;
  position: fixed;
  bottom: 0;
  z-index: 999;
  box-sizing: border-box;
}
</style>
